<!DOCTYPE html>
<html>
<head>
    <meta charset="utf-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <title>事业合伙人</title>
    <meta name="description" content="">
    <meta name="keywords" content="">
    <meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1, user-scalable=no">
    <meta name="renderer" content="webkit">
    <meta http-equiv="Cache-Control" content="no-siteapp" />
    <link href="/Public/css/amazeui.min.css" rel="stylesheet" type="text/css" />
    <link href="/Public/css/style.css" rel="stylesheet" type="text/css" />

    <script src="/Public/js/mui.min.js"></script>
    <link rel="stylesheet" type="text/css" href="/Public/css/mui.min.css" />
    <link rel="stylesheet" href="/Public/bs/css/bootstrap.min.css">
    <link rel="stylesheet" href="/Public/bs/css/font-awesome.min.css">
    <!-- Main css -->
    <link rel="stylesheet" href="/Public/bs/css/style.css">
    <link href="https://fonts.googleapis.com/css?family=Work+Sans:300,400,700" rel="stylesheet">
    <style type="text/css">

        html, body { color:#222; font-family:Microsoft YaHei, Helvitica, Verdana, Tohoma, Arial, san-serif; margin:0; padding: 0; text-decoration: none; }
        img { border:0; }
        ul { list-style: none outside none; margin:0; padding: 0; }
        body {
            background-color:#eee;
        }
        body .mainmenu:after { clear: both; content: " "; display: block; }

        body .mainmenu li{
            float:left;
            margin-left: 3.5%;
            margin-top: 3.5%;
            width: 45%;
            border-radius:0.3rem;
        }

        body .mainmenu li a{
            display:block;
            color:#FFF;
            text-align:center
        }
        body .mainmenu li a b{
            display:block; height:140px;
            background: #95312f;
            font-size: 1.6rem;
            font-weight: lighter;
            border-radius: 0.7rem;
        }
        body .mainmenu li a img{
            margin:0 auto;
            margin-top: 4rem;
            width: 4rem;
            height: 4rem;
            margin-bottom: 1rem;

        }



        /* body .mainmenu li:nth-child(8n+2) {background-color:#95312f}
        body .mainmenu li:nth-child(8n+3) {background-color:#95312f}
        body .mainmenu li:nth-child(8n+4) {background-color:#95312f}
        body .mainmenu li:nth-child(8n+5) {background-color:#95312f}
        body .mainmenu li:nth-child(8n+6) {background-color:#95312f}
        body .mainmenu li:nth-child(8n+7) {background-color:#95312f}
        body .mainmenu li:nth-child(8n+8) {background-color:#95312f} */
        .b1 ul li{
            margin: 0;
            padding: 0;
            float: left;
            width: 49%;
            height: 4rem;
            line-height: 4rem;
            text-align: center;
            text-indent: 1em;
            color: #6d403d;
            font-size: inherit;
            border: 1px  solid #EBF8CC;
            border-radius: 2px;
            background:#ebdfe1;
            font-size: 8px;
        }
        .b1 ul{
            width:100%;margin:0 auto; background: #000; margin-top: 1rem;
        }

    </style>

    <script src="/Public/js/jquery-2.1.1.min.js"></script>
    <script src="/Public/js/time.js"></script>

    <script>
        $(function(){
            $('#logout').show();
            $('.weclome').show();
        });
        function logout(){
            window.location.href="/index.php/Home/member/logout";
            $('#logout').hide();
            $('.weclome').hide();
        }
    </script>



</head>
<body>
<!--图片轮换-->
<div class="am-slider am-slider-default" data-am-flexslider id="demo-slider-0" style="position: relative;">
    <ul class="am-slides">
        <li><img src="/Public/images/big6.jpg" /></li>
        <li><img src="/Public/images/big1.jpg" /></li>
        <li><img src="/Public/images/big2.jpg" /></li>
        <li><img src="/Public/images/pic.jpg" /></li>
    </ul>
</div>
<!--新手引导-->
<!--模块-->
<div id="productinfo">
    <header data-am-widget="header" style="background: black" class="am-header am-header-default tm-head am-no-layout sortbar-fixed" id="shortbar">
        <h1 class="am-header-title1" style="margin-top:1.5rem">事业合伙人</h1>
        <div class="am-header-right am-header-nav">
            <if condition="isset($_SESSION['msg']['tel'])">
                <a href="#" class="nav_text">{$_SESSION['msg']['tel']}</a>
                <else/>
                <a href="/index.php/Home/index/register" class="nav_text"> 注册 </a>
            </if>
        </div>
    </header>
</div>
<div class="b1" style="margin-top: 1.5rem;">
    <ul style="width:auto; margin: 0  auto; margin-left: 2%;">
        <li>我所推荐人数:&nbsp;<span style="color:red;">{$counts|default=0}</span></li>
        <li>我的奖金总数:&nbsp;<span style="color:red;">{$commissions|number_format=2}</span></li>
        <li style="text-align: center;">月奖金:&nbsp;<span style="color:red;">{$money|number_format=2}(工资){$p_money|number_format=2}(充值)</span></li>
        <li style="text-align: center;">昨日:&nbsp;<span style="color:red;">{$commission|number_format=2}(工资){$pcommission|number_format=2}(充值)</span></li>
    </ul>
</div>
<if condition="$register_name != ''">
    <div>
        <span class="weclome" style="  font-size: larger; text-align:center;line-height:3.5rem;width: 70%; height: 3.5rem; margin: 0 auto;background: #ebdfe1; margin-top:1.5rem;margin-left: 2.5%; display: block; border-radius: 0.3rem;  float: left;"><if condition="$register_name !=0">【<a style="color: red;">{$register_name}</a>】</if>欢迎您使用本系统</span><span id="logout"  onclick="logout()" style="display: block; float: left;  height: 3.5rem; line-height: 3.5rem;background: #AA1D48; margin-top:1.5rem; margin-left: 1rem;width: 20%; text-align: center;  border-radius: 0.3rem;">退出</span>
    </div>
</if>



<ul class="mainmenu" style="margin-top:1.5rem;">
    <li>
        <a href="/index.php/Home/member/index/id/{$_SESSION['msg']['id']}" >
            <b style="background:url(/Public/images/back1.jpg) no-repeat center;background-size: 100% 100%">
                <img src="/Public/images/person1.png "/>
                <span style="display: block;">个人中心</span>
            </b>
        </a>
    </li>
    <li>
        <a href="/index.php/Home/wei/member/id/{$_SESSION['msg']['id']}" >
            <b style="background:url(/Public/images/back2.jpg) no-repeat center;background-size: 100% 100%">
                <img src="/Public/images/team1.png"  style="width: 4.6rem" />
                <span style="display: block;">我的团队</span>
            </b>

        </a>
    </li>
    <li>
        <a href="/index.php/Home/wei/commission/id/{$_SESSION['msg']['id']}" >
            <b style="background:url(/Public/images/back3.jpg) no-repeat center;background-size: 100% 100%">
                <img  src="/Public/images/money1.png" />
                <span style="display: block;">奖金明细</span>
            </b>

        </a>
    </li>
    <li>
        <a href="/index.php/Home/wei/qrcode/id/{$_SESSION['msg']['id']}" >
            <b style="background:url(/Public/images/back1.jpg) no-repeat center;background-size: 100% 100%">
                <img  src="/Public/images/qrcode1.png" />
                <span style="display: block;">推广二维码</span>
            </b>

        </a>
    </li>
</ul>
<div style="height:5.3rem;"></div>

<nav class="mui-bar mui-bar-tab">
    <a class="mui-tab-item" href='/index.php/home/Index/index'>
        <span class="mui-icon mui-icon-home"></span>
        <span class="mui-tab-label">首页</span>
    </a>
    <a class="mui-tab-item" href='/index.php/home/Chat/index'>
        <span class="mui-icon mui-icon-chat"></span>
        <span class="mui-tab-label">群聊</span>
    </a>
    <a id="shop" class="mui-tab-item" href="/index.php/Home/Shop/index">
        <span class="mui-icon"><i class="fa fa-shopping-cart" aria-hidden="true"></i></span>
        <span class="mui-tab-label">商城</span>
    </a>
    <a class="mui-tab-item" href='/index.php/home/Member/index'>
        <span class="mui-icon mui-icon-contact"></span>
        <span class="mui-tab-label">我的</span>
    </a>
</nav>
<script src="/Public/js/jquery.min.js"></script>
<script src="/Public/js/amazeui.min.js"></script>
</body>
</html>
